package com.cloudcc.mobile.entity.comment;

import java.io.Serializable;

import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Foreign;
import com.lidroid.xutils.db.annotation.Table;
/** * 评论中所带的图片 对象 * @author Administrator * */

@SuppressWarnings("serial")
@Table(name = "CommentsFile")
public class CommentsFile implements Serializable{
	@Column(column = "id")
	private String id;

	@Column(column = "fileLength")
	private String fileLength;

	@Column(column = "filename")
	private String filename;

	@Column(column = "fileid")
	private String fileid;

	@Column(column = "contentType")
	private String contentType;
	@Foreign(column = "parentId", foreign = "id")
	private Comments comments;
	public Comments getComments() {
		return comments;
	}
	public void setComments(Comments comments) {
		this.comments = comments;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getFileLength() {
		return fileLength;
	}
	public void setFileLength(String fileLength) {
		this.fileLength = fileLength;
	}
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public String getFileid() {
		return fileid;
	}
	public void setFileid(String fileid) {
		this.fileid = fileid;
	}
	public String getContentType() {
		return contentType;
	}
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}
	public CommentsFile(String fileLength, String filename, String fileid,
			String contentType) {
		super();
		this.fileLength = fileLength;
		this.filename = filename;
		this.fileid = fileid;
		this.contentType = contentType;
	}
	public CommentsFile() {
		super();
	}

}
